<?php


namespace App\Traits\Controllers;

use Illuminate\Http\Request;
use Illuminate\Validation\ValidationException;

Trait TypeEnumTraits
{

    /**
     * @param $id
     * @param Request $request
     * @return \Dingo\Api\Http\Response
     * @throws ValidationException
     */
    public function typeenum(Request $request)
    {
        $this->validateData($request);

        return $this->getQuery();

    }


}

